package com.zdxlz.fcmp.upms.api.vo;

import com.zdxlz.fcmp.common.core.basevo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


/**
 * 菜单信息表(SystemMenu)Vo
 *
 * @author aman
 * @since 2025-01-15 16:59:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SystemMenuVo extends BaseVo {
    // 租户id
    private Integer tenantId;
    //父节点id
    private String parentId;
    //唯一标识路径
    private String path;
    //1：目录；2：菜单；3: 按钮
    private String menuType;
    //菜单名称
    private String menuName;
    //路由名称
    private String routeName;
    //权限标识
    private String permission = "0";
    //组件标识
    private String component;
    //元数据
    private String meta;
    //状态；1:可用，2:禁用
    private String status;
    //是否已删除：0->未删除；1->已删除
    private String deleted = "0";
    @Schema(description = "children")
    private List<SystemMenuTreeVo> children;
}
